package com.kmxd.ams.client.arrange.dto;

import com.kmxd.ams.core.common.enums.CreateEsIndexEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 创建es索引
 *
 * @author ZuoLG
 */
@Schema(description = "创建es索引")
@Data
public class CreateEsIndexDTO {
  @Schema(description = "门类id")
  private Long archTypeId;

  @Schema(description = "全宗id")
  private Long fondsId;

  @Schema(description = "公司id")
  private Long comId;

  @Schema(description = "创建类型：1按门类，2按全宗")
  private CreateEsIndexEnum type;
}
